home *** CD-ROM | disk | FTP | other *** search
/ Chip 2005 June / ccd0605.iso / Software / Shareware / Programare / winhex / Ext Directory Entry.txt < prev    next >
Text File  |  2005-05-02  |  588b  |  24 lines

  1. template "Ext2/Ext3 Directory Entry"
  2.  
  3. // Template by Eoghan Casey
  4.  
  5. // Modified by Jens Kirschner on 29 Sep 2004
  6.  
  7. // To be applied to a sector of a Ext2 drive
  8. // that contains a directory starting with the
  9. // first inode entry. This template only displays
  10. // allocated files - deleted filenames are not displayed
  11.  
  12. description "Locates the Inode for a given filename"
  13. applies_to disk
  14. multiple
  15.  
  16. begin
  17.     uint32    "Inode"
  18.     uint16    "Entry length"
  19.     uint8        "Name length"
  20.     uint8        "Type (1=file 2=dir 7=sym.link)"
  21.     char[Name length]    "File name"
  22.     goto        0
  23.     move        "Entry length"
  24. end